package com.common.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.common.domain.entity.ResponseResult;
import com.common.domain.entity.User;

/**
* @author pc
* @description 针对表【sys_user(用户表)】的数据库操作Service
* @createDate 2023-08-31 22:16:53
*/
public interface UserService extends IService<User> {

    ResponseResult register(User user);

    ResponseResult userInfo();

    ResponseResult updateUserInfo(User user);

    ResponseResult validUsername(String userName, String type);

    ResponseResult userUpdatePassword(String oldPassword, String password);

    ResponseResult allUserList(Integer pageNum, Integer pageSize, String userName, String className, String studentId);

    ResponseResult deleteUser(String ids);

    ResponseResult insertUser(User user);

    ResponseResult updateUser(User user);

    ResponseResult changeStatus(Long id, String status);
}
